Open topic with navigation
Creating Microsoft Excel datasheets
If you have a large amount of existing test data in a Microsoft Excel file, you can create an external datasheet to use it in data-driven scripts. You can retrieve all data from a worksheet in the file or use a script-generated query to retrieve data during playback.
1. Choose Data > Create Datasheet.
The Create Datasheet wizard opens.
2. Select an external data source option.
- Import data from external source imports data from the source and maintains it in QA Wizard Pro. Any changes to the imported data in the datasheet are not synced with the source.
- Link to data in external source links the datasheet to the source. Any changes to the data in the QA Wizard Pro datasheet are synced with the source and vice versa.
Note: Excel must be installed on the test computer to modify linked Excel datasheets.
3. Click Next.
4. Select Microsoft Excel sheet as the Datasheet type.
5. Enter the path to the Excel file or click Browse to select it.
6. Select a Source to use to retrieve data from the file.
- Sheet retrieves all data from the specified worksheet in the file.
- Script-generated query uses a function in a script to retrieve a subset of data during playback. This option is only available if the datasheet links to an external data source. If this option is selected, you cannot view or edit the datasheet in QA Wizard Pro or modify the data source using scripts. See Retrieving external data with script-generated queries.
7. Select First row contains column headers if the Excel sheet contains column headers. If this option is not selected, the datasheet uses default column names (F1, F2, F3, etc.).
8. Click Next.
9. Specify the datasheet properties.
- If you are importing data, click Browse to select the Datasheet path to save the file in and enter a File name. Datasheets are saved with a .qawsheet extension. You can also enter an optional Description for the datasheet.
- If you are linking to the external data source, enter a Datasheet name.
10. Click Finish to add the datasheet to the workspace.